#ifndef TOOLS_H
#define TOOLS_H
#include<qpainter.h>
#include <QMainWindow>
#include <QObject>
#include <QWidget>
#include <QVector>
#include <QDebug>
//#include "ui_tools.h"
//QT_BEGIN_NAMESPACE
//namespace Ui { class Mainwindow; }
//QT_END_NAMESPACE
class tools
{
   // Q_OBJECT
public:
    tools();
    bool light(int nDirection);
    void pausanto(QRect,QRect,bool&);//圣木
    void initempureter1(QVector<QVector<int>>&,QRect rect,int floor);
    void initempureter2(QVector<QVector<int>>&,QRect rect,int floor);
};

#endif // TOOLS_H
